Tag Link | [LDAP->Close] | Category | LDAP |
---|---|---|---|
Type | Member | Source Available | No |
Support | Preferred | Version | 8.5 |
Change | New | Data Source | Any |
Output Type | None | Security | None |
Implementation | Internal | Sets | Lasso 8.5 |
[LDAP->Close] closes the connection to the LDAP server.
<?LassoScript
Var: 'myLDAP' = LDAP;
$myLDAP->(Open: 'ldap.example.com');
$myLDAP->(Authenticate: 'myusername', 'mysecretpassword');
Var: 'myResult' = $myLDAP->(Search: 'dc=example,dc=com';
LDAP_Scope_Subtree, '(objectClass=*)', (Array: '*'), False);
$myLDAP->Close;
?>
No Parameters Required.
See the Lasso 8 Language Guide for examples of how to use this tag.